package models;


/**
 * id bigserial primary key, id_teacher bigint references teacher(id), id_course
 * bigint references course(id), id_user bigint references sanduche_user(id),
 * grade bigint not null, score bigint not null, comment varchar(256), anonymous
 * boolean default false, unique(id_user,id_teacher,id_course)
 * 
 * @author Caeus
 * 
 */
// @Entity
// @Table(name = "grade")
public class Grade {
	// @Id
	// private Long id;
	// @ManyToOne
	// @JoinColumn(name = "id_teacher")
	// private Teacher teacher;
	// @ManyToOne
	// @JoinColumn(name = "id_course")
	// private Course course;
	// @ManyToOne
	// @JoinColumn(name = "id_user")
	// private User user;
	// @Column(name = "grade")
	// private Float grade;
	// @Column(name = "score")
	// private Float score;
	// @Column(name = "comment")
	// private String comment;
	// @Column(name = "anonymous")
	// private Boolean anonymous;
	//
	// public Long getId() {
	// return id;
	// }
	//
	// public void setId(Long id) {
	// this.id = id;
	// }
	//
	// public Teacher getTeacher() {
	// return teacher;
	// }
	//
	// public void setTeacher(Teacher teacher) {
	// this.teacher = teacher;
	// }
	//
	// public Course getCourse() {
	// return course;
	// }
	//
	// public void setCourse(Course course) {
	// this.course = course;
	// }
	//
	// public User getUser() {
	// return user;
	// }
	//
	// public void setUser(User user) {
	// this.user = user;
	// }
	//
	// public Float getGrade() {
	// return grade;
	// }
	//
	// public void setGrade(Float grade) {
	// this.grade = grade;
	// }
	//
	// public Float getScore() {
	// return score;
	// }
	//
	// public void setScore(Float score) {
	// this.score = score;
	// }
	//
	// public String getComment() {
	// return comment;
	// }
	//
	// public void setComment(String comment) {
	// this.comment = comment;
	// }
	//
	// public Boolean getAnonymous() {
	// return anonymous;
	// }
	//
	// public void setAnonymous(Boolean anonymous) {
	// this.anonymous = anonymous;
	// }

}
